package com.care.mall.common.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.care.common.core.annotation.Excel;
import com.care.common.core.web.domain.BaseEntity;

/**
 * 商品属性对象 mall_attr
 *
 * @author 李光耀负责
 * @date 2024-03-27
 */
public class MallAttr extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 属性编号 */
    private Long attrId;

    /** 属性名称 */
    @Excel(name = "属性名称")
    private String attrName;

    /** 属性分类(用逗号分隔) */
    @Excel(name = "属性分类(用逗号分隔)")
    private String attrValue;

    /** 属性状态(1可用 2不可用) */
    @Excel(name = "属性状态(1可用 2不可用)")
    private Integer attrStatus;

    public void setAttrId(Long attrId)
    {
        this.attrId = attrId;
    }

    public Long getAttrId()
    {
        return attrId;
    }
    public void setAttrName(String attrName)
    {
        this.attrName = attrName;
    }

    public String getAttrName()
    {
        return attrName;
    }
    public void setAttrValue(String attrValue)
    {
        this.attrValue = attrValue;
    }

    public String getAttrValue()
    {
        return attrValue;
    }
    public void setAttrStatus(Integer attrStatus)
    {
        this.attrStatus = attrStatus;
    }

    public Integer getAttrStatus()
    {
        return attrStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("attrId", getAttrId())
            .append("attrName", getAttrName())
            .append("attrValue", getAttrValue())
            .append("attrStatus", getAttrStatus())
            .toString();
    }
}
